home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / bbs / rstrip10 / rstrip.doc < prev    next >
Text File  |  1993-09-23  |  4KB  |  94 lines

  1. RSTRIP  - Utility to remove routing lines from packet radio messages
  2. Version - 1.0
  3. Author  - Roy Sainsbury G0OSW
  4. Syntax  - RSTRIP Filespec (wildcards allowed).
  5. File    - RSTRIP.EXE
  6. Source  - RSTRIP.PAS
  7.  
  8.  
  9. INTRODUCTION
  10. This program removes the routing information (R:XXXX....") lines from packet
  11. radio messages.
  12.  
  13.  
  14. USEAGE
  15. Simply type RSTRIP followed by a filespec.  This may include drive and/or path
  16. and wildcards, so that a group of files may be processed automatically.  This
  17. is especially useful for TPK users who can use this to remove all the routing
  18. lines from all the files in their message lists.  It is amazing how much disk
  19. space can be recovered by doing this!
  20.  
  21. The following error messages may appear before processing begins.  All of
  22. these will terminate the program:
  23.  
  24. "Insufficient Memory"
  25.   Not enough memory for the directory.
  26.  
  27. "Path not found"
  28.   You supplied an illegal drive and/or path.  also happens if the drive
  29.   is not ready or unreadable.
  30.  
  31. "No files found"
  32.   The path was OK but there's no files in it that match the filespec.
  33.  
  34. During processing, the names of the files being scanned will be shown. The
  35. following messages will appear to the right of each filename after processing:
  36.  
  37. "Skipped!"
  38.   COM, EXE, BAT, BAK and $$$ files are skipped.
  39.  
  40. "Protected file - skipped!"
  41.   Read-only, Hidden and System files are protected and not processed.
  42.  
  43. "No Change!"
  44.   File contains no routing lines.
  45.  
  46. "n line(s) removed"
  47.   n routing lines were found and removed
  48.  
  49. "Cannot open file - Skipped"
  50.   Unlikely since the names are got from the directory!
  51.  
  52. "....Cannot open output file!"
  53.   Write-protected floppy or the output file (filename.$$$) already existed
  54.   and was read-only.  This terminates the program.
  55.  
  56. "...cannot reset file"
  57.   Should never happen, but if it does it terminates the program.
  58.  
  59. "Line(s) longer than 254 characters"
  60.   One or more lines in the file is too long to process.  The program pauses
  61.   here to allow you to write down the name for manual editing.  Press any key
  62.   to process the next file.
  63.  
  64. At the end of the run, some statistics will be printed.  Skipped files are not
  65. included in this.
  66.  
  67. If you want to abort the program part-way through, hit ESC.  This stops
  68. processing when the current file is completed.  The message "*** Aborted!"
  69. is displayed.
  70.  
  71.  
  72. LIMITATIONS
  73. The program automatically skips EXE, COM and BAT files.  All other files are
  74. processed if included in the filespec.  Normally, the files you want processed
  75. will have the same extension (or in the case of TPK none at all), so you can
  76. restrict processing to these files.  However, if you have several sets of files
  77. in the same directory with different extensions, and you also have other files
  78. which must not be modified, either do them in groups (a batch file will be good
  79. for this), or copy all the groups to a "junk" directory, process them as *.*
  80. then copy those that have been modified back (If you use Attrib to clear the
  81. archive bit before processing, XCOPY with the /M parameter will copy only those
  82. modified files).  Alternatively, set the files you don't want altered as read-
  83. only then use *.*.
  84.  
  85. If you already have a file with the extension $$$ and it matches the filespec
  86. if will be overwritten by the temporary file and deleted on completion.  If
  87. this file is read-only the first file requiring changing will cause the"Cannot
  88. open output file" message to terminate the program.
  89.  
  90. On a few occasions, where the file being processed is corrupted, processing
  91. the file may result in the creation of lines longer than 254 characters.  This
  92. will be evident if you run such a file through the program more than once.
  93. In any event, the file is corrupt so it may as well be deleted.
  94.